package com.hhkj.study.api.user.model.req;

import com.hhkj.study.api.user.common.enums.SourceTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 建培圈跳转练习
 * @Author luowu
 * @Date 2024/10/28 涵 11:20:49
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ApiCustomerUserExerciseTrainReq extends ApiCustomerUserCourseBaseReq {

    /**
     * 题库id
     */
    @NotNull(message = "题库id不能为空")
    private Long bankId;

    /**
     * 来源类型 1-PC 2-小程序
     * @see SourceTypeEnum
     */
    private Integer sourceType;
}
